Skip to content

Conversation

titaneric
Copy link

This PR aims to solve #374 , which is the frontend service for it.

Change of code

  • Add new Output/PaneWithWasmPack and Output/Container for rendering wasm result
  • Add performCompileToWasmPack function to request backend wasm-pack POST method
  • Add new reducers/output/wasmPack to perform state management

Note

Demo

rust-playground

2021-04-15.11-20-07.mp4

P.S.

I am newbie of React, every code in this PR is enough to perform the result but may not consider the convention of React or any performance issue. I DO think this implementation is more like prototype than production, feel free to point out any issues involved with code base and rewrite suitably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant